* {
  padding:0;
  margin: 0;
}

div {
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0); 
  -webkit-user-select: none;
  -moz-user-focus: none;
  -moz-user-select: none;
  -webkit-appearance:none;
  outline: none;
  border: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/*img {
  -webkit-user-select: none;
  cursor: default;
  pointer-events: none;
}*/

html {
	width: 100%;
	height: 100%;
}

body {
  min-height: 100%;
  /*max-width: 750px;*/
  /*min-width: 320px;*/
  width: 100%;
  position: relative;
  margin: 0 auto;
  -webkit-overflow-scrolling: touch;
  height: 100%;
  overflow: auto;
  webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
}

body .layui-layer {
  background-color: transparent;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.app {
  width: 100%;
  height: 100%;
  background: #FFF;
  overflow: hidden;
  position: relative;
}

.canvas {
  position: absolute;
  transform-origin: 0% 0%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.iframe {
  position: fixed;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  z-index: 9;
  background: #FFF;
  /*transition: all .5s;*/
  transform: translate(100%, 0%);
  transform-origin: 50% 50%;
  opacity: 0;
}

.iframe.on {
  /*transform: translate(0%, 0);*/
}

.iframe iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.poster {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 9;
  top: 0;
  left: 0;
  display: none;
}

.poster.on {
  display: block;
}

.shade {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0,0,0,.8);
}

.poster-canvas {
  display: none;
}

.layui-layer-iframe {
  overflow: hidden;
}

@media all and (orientation : landscape) { 
  .poster-main{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .poster-img{
    transform: rotate(-90deg);
    font-size: 0;
  }

  .poster-main p{
    font-size: .1rem;
    color: #FFF;
    position: absolute;
    transform: rotate(-90deg) translate(0, -50%);
    left: 120%;
    top: 50%;
    width: 90%;
    text-align: center;
  }

  .close {
    position: absolute;
    top: .1rem;
    right: .1rem;
    width: .3rem;
    height: .3rem;
    background: url(../images/close.png) center / cover no-repeat;
  }
}
@media all and (orientation : portrait){ 
  .poster-main{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .poster-main p{
    font-size: .2rem;
    color: #FFF;
    margin-top: .5rem;
  }
  
  .close{
    position: absolute;
    top: .2rem;
    right: .2rem;
    width: .8rem;
    height: .8rem;
    background: url(../images/close.png) center / cover no-repeat;
  }
}